// 会议论文编辑页面配置
export const conferenceConfig = {
  title: "会议论文信息",
  icon: "conference",
  fields: [
    {
      key: 'title',
      label: '标题',
      required: true,
      type: 'text',
      placeholder: '请输入论文标题'
    },
    {
      key: 'doi',
      label: 'DOI',
      required: true,
      type: 'text',
      placeholder: '请输入DOI'
    },
    {
      key: 'keywords',
      label: '关键词',
      required: true,
      type: 'array',
      placeholder: '请输入关键词'
    },
    {
      key: 'authors',
      label: '作者',
      required: true,
      type: 'array',
      placeholder: '请输入作者姓名'
    },
    {
      key: 'authorRank',
      label: '作者位次',
      required: true,
      type: 'select',
      placeholder: '请选择作者位次',
      options: [
        { value: 'first', label: '第一作者' },
        { value: 'second', label: '第二作者' },
        { value: 'corresponding', label: '通讯作者' },
        { value: 'other', label: '其他' }
      ]
    },
    {
      key: 'conferenceName',
      label: '会议名称',
      required: true,
      type: 'text',
      placeholder: '请输入会议名称'
    },
    {
      key: 'conferenceNameShort',
      label: '会议缩写',
      required: true,
      type: 'text',
      placeholder: '请输入会议缩写'
    },
    {
      key: 'conferenceDate',
      label: '举办时间',
      required: true,
      type: 'date',
      placeholder: '请选择举办时间'
    },
    {
      key: 'conferenceLocation',
      label: '举办地点',
      required: true,
      type: 'text',
      placeholder: '请输入举办地点'
    },
    {
      key: 'conferencePage',
      label: '页码',
      required: true,
      type: 'text',
      placeholder: '请输入页码'
    },
    {
      key: 'conferenceField',
      label: '所属领域',
      required: true,
      type: 'select',
      placeholder: '请选择所属领域'
    },
    {
      key: 'conferenceCitation',
      label: '被引次数',
      required: true,
      type: 'text',
      placeholder: '请输入被引次数'
    }
  ],
  uploadAreas: [
    {
      key: 'original',
      label: '论文原文',
      required: true,
      accept: '.pdf,.doc,.docx',
      multiple: true  // 支持多文件上传
    },
    {
      key: 'attachment',
      label: '论文附件',
      required: true,
      accept: '.pdf,.doc,.docx,.zip,.rar',
      multiple: true
    },
    {
      key: 'poster',
      label: '论文海报',
      required: true,
      accept: '.png,.jpg,.jpeg',
      multiple: true
    },
    {
      key: 'oralPoster',
      label: 'Oral 海报',
      required: true,
      accept: '.png,.jpg,.jpeg',
      multiple: true
    }
  ]
};
